import { View } from '@tarojs/components'
import { useLoad } from '@tarojs/taro'
import Advertising from './components/advertising'
import BtnList from './components/btnList'
import Header from './components/header'
import TabBar from './components/tabbar'
import Title from './components/title'
import './index.scss'

export default function Index() {

  useLoad(() => {
    console.log('Page loaded.')
  })

  return (
    <View className='index'>
      <Header />
      <TabBar />
      <BtnList />
      <Title />
      <Advertising />
    </View>
  )
}
